Enum HTTPType

java.lang.Object
java.lang.Enum<HTTPType>
com.cisco.pt.ipc.enums.HTTPType
All Implemented Interfaces:
Serializable, Comparable<HTTPType>, Constable

public enum HTTPType extends Enum<HTTPType>
An enum for the IPC's HTTPType values
Author:
packettracerexapps@external.cisco.com
  • Enum Constant Details

    • HTTP_GET

      public static final HTTPType HTTP_GET
    • HTTP_POST

      public static final HTTPType HTTP_POST
    • HTTP_OK

      public static final HTTPType HTTP_OK
    • HTTP_UN_AUTHORIZED

      public static final HTTPType HTTP_UN_AUTHORIZED
    • HTTP_NOT_FOUND

      public static final HTTPType HTTP_NOT_FOUND
    • HTTP_INVALID

      public static final HTTPType HTTP_INVALID
    • HTTP_TIMEOUT

      public static final HTTPType HTTP_TIMEOUT
    • HTTP_PEER_RESET

      public static final HTTPType HTTP_PEER_RESET
    • HTTP_DNS_SERVER_NOT_FOUND

      public static final HTTPType HTTP_DNS_SERVER_NOT_FOUND
    • HTTP_DNS_UN_RESOLVED_HOST_NAME

      public static final HTTPType HTTP_DNS_UN_RESOLVED_HOST_NAME
    • HTTP_PROTOCOL_ERROR

      public static final HTTPType HTTP_PROTOCOL_ERROR
    • HTTP_FAILED_LOGIN

      public static final HTTPType HTTP_FAILED_LOGIN
    • HTTP_PEER_CLOSE

      public static final HTTPType HTTP_PEER_CLOSE
    • HTTP_PUT

      public static final HTTPType HTTP_PUT
    • HTTP_DELETE

      public static final HTTPType HTTP_DELETE
  • Field Details

    • intValue

      protected int intValue
  • Method Details

    • values

      public static HTTPType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static HTTPType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIntValue

      public int getIntValue()
    • fromIntValue

      public static HTTPType fromIntValue(int value)
    • fromIntValue

      public static HTTPType fromIntValue(Integer value)